<?php
/**
 * Yii view form
 *
 * @author luubk
 * @since Jan 11, 2013 - 2:46:02 PM
 */
?>

<div class="row-fluid">
    <?php
    $this->beginWidget('MyActiveForm', array(
        'model' => $this->model,
        'title' => $this->pageTitle,
        'columns' => array(
            'description',
             array(
                'field' => 'name',
                'htmlOptions' => array('class' => "",
                    'readonly' => "readonly"),
            ),
//             array(
//                'field' => 'value',
//                'type' => 'dropDownList',
//                'data' => Option::getArrayType(),
//                'htmlOptions' => array('class' => ""),
//            ),
            'rank',
            array(
                'field' => 'data_type',
                'type' => 'dropDownList',
                'data' => Option::getArrayType(),
                'htmlOptions' => array('class' => ""),
            ),
            array(
                'field' => 'category',
                'type' => 'dropDownList',
                'data' => Option::getArrayCategory(),
                'htmlOptions' => array('class' => ""),
            ),
        ),
    ));
    ?>
    <?php $this->endWidget() ?>
</div>